<a href="<?- HOST ?>" class="logobox mui-clearfix">
	<img src="<?- HOST ?>static/images/logo.png" alt="">
</a>

<ul class="mui-table-view mui-table-view-chevron mui-table-view-inverted">
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" href="<?- HOST ?>">首页</a>
	</li>
	<? menus.forEach(function(menu){ ?>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" href="<?- HOST ?>cate/<?- menu.href ?>"><?- menu.name ?></a>
	</li>
	<? }) ?>
</ul>
<h3 class="title">友情链接</h3>
<ul class="mui-table-view mui-table-view-chevron mui-table-view-inverted" style="opacity: .6;font-size: .8em;">
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://weibo.hellowmonkey.com">沃德圈子</a>
	</li>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://ent.hellowmonkey.com">沃德资讯网</a>
	</li>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://my.hellowmonkey.com">沃德个人主页</a>
	</li>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://story.hellowmonkey.com">沃德小说网</a>
	</li>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://film.hellowmonkey.com">沃德电影网</a>
	</li>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://tota.hellowmonkey.com">tota</a>
	</li>
	<li class="mui-table-view-cell">
		<a class="mui-navigate-right" target="_blank" href="http://movie.hellowmonkey.com">快看电影网</a>
	</li>
</ul>

<script>
(function($){
	$.ready(function(){
		$.init();
		var offCanvasWrapper = $('#offCanvasWrapper');
		var offCanvasInner = offCanvasWrapper[0].querySelector('.mui-inner-wrap');
		var offCanvasSide = document.getElementById("offCanvasSide");
		if ($.os.ios) {
			offCanvasInner.insertBefore(offCanvasSide, offCanvasInner.firstElementChild);
		}
		$('#offCanvasSideScroll').scroll();
		$('#offCanvasContentScroll').scroll();

		$('.mui-scroll').on('tap','a',function(){
			var href = this.getAttribute('href')
			if(href && href.length && '#'!==href){
				location.href = href
			}
		})
	})
})(mui)
</script>